package com.atguigu.eduOrder.client;

import com.atguigu.vo.WebCourseInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Summerday
 */

@FeignClient(value = "service-edu")
@Component
public interface CourseClient {



    @GetMapping("/eduService/courseFront/getWebCourseInfoVo/{courseId}")
    public WebCourseInfoVo getWebCourseInfoVo(@PathVariable("courseId") String courseId);
}
